#pragma once
#include "CarAgent.h"
#include "Fare.h"
#include "Env.h"

class CTaxiAgent :
    public CCarAgent
{
public:
    CTaxiAgent(int id, CNode* node);
    ~CTaxiAgent(void);
    virtual bool Step(CEnv* env, int ms);

    bool OnJob() { return m_onJob; }
    bool HasJob() { return m_hasJob; }

private:
    bool m_onJob;
    bool m_hasJob;
    CFare* m_fare;
};
